package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 工单分派工程师表
 * </p>
 *
 * @author WEN
 * @since 2024-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjWorkDispatchEngineer对象", description="工单分派工程师表")
public class ZjWorkDispatchEngineer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "工单表ID")
    private Long workId;

    @ApiModelProperty(value = "网点表ID")
    private Long networkId;

    @ApiModelProperty(value = "网点人员表ID")
    private Long networkEmpId;

    @ApiModelProperty(value = "状态：1-待接单，2-服务中，3-待结单，4-已完成，5-已取消，6-已拒绝接单，7-已转单，8-已改派")
    private Integer status;

    @ApiModelProperty(value = "派单给工程师时间")
    private String dispatchTime;

    @ApiModelProperty(value = "派工备注")
    private String dispatchRemark;

    @ApiModelProperty(value = "工程师接单时间")
    private String receivingOrderTime;

    @ApiModelProperty(value = "是否预约：0-否，1-是")
    @TableField("is_reservation")
    private Boolean reservation;

    @ApiModelProperty(value = "预约日期")
    private String reservationDate;

    @ApiModelProperty(value = "预约开始时间")
    private String reservationStartTime;

    @ApiModelProperty(value = "预约结束时间")
    private String reservationEndTime;

    @ApiModelProperty(value = "人员完成时间")
    private String networkEmpFinishTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "拨打电话次数")
    private Integer callPhoneQty;

    @ApiModelProperty(value = "拨打电话时间")
    private String callPhoneTime;

    @ApiModelProperty(value = "下次拨打日期")
    private Date nextCallPhoneDate;

    @ApiModelProperty(value = "下次拨打开始时间")
    private Date nextCallPhoneStartTime;

    @ApiModelProperty(value = "下次拨打结束时间")
    private Date nextCallPhoneEndTime;

    @ApiModelProperty(value = "是否填写拨打电话结果：0-否，1-是")
    @TableField("is_write_call_phone_result")
    private Boolean writeCallPhoneResult;

    @ApiModelProperty(value = "是否签到：0-否，1-是")
    @TableField("is_sign_in")
    private Boolean signIn;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
